package com.lsp.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SkuEsModel {

    private Long skuId;

    private Long spuId;

    private String skuTitle;

    private BigDecimal skuPrice;

    private String skuImg;

    private Long saleCount;//销量

    private Boolean hasStock;//是否有库存

    private Long hotstock;//热度评分

    private Long brandId;//品牌id

    private Long catalogId;//分类ID

    private String brandName;//品牌名字

    private String brandImg;//品牌图片

    private String catalogName;//分类名字

    private List<Attrs> attrs;
@Data
   public static class Attrs{
        private Long attrId;

        private String attrName;

        private String attrValue;
    }
}
